
<div class="ben-section-title"><?php echo $sitemap['sitemapname']?></div>
<div>
	<?php foreach($datas as $item){ ?>
	<div id="dl<?php echo $item['bdsid']?>" class="dl-cell ben-left" title="<?php echo $item['bdsid']?>">
    	<div class="dl-image" >
        	<a href="<?php echo $item['link']?>">
    			<img src="<?php echo $item['imagethumbnail']?>">
        	</a>
        </div>
        <div class="dl-infor">
            <div class="dl-nhucau"><?php echo $this->document->getNhom($item['nhucau'])?></div>
            <div class="dl-tieude"><a href="<?php echo $item['link']?>"><?php echo $item['tieude'] ?></a></div>
            <div class="dl-khuvuc">
            	<?php if($this->document->getNhom($item['khuvuc'],'nhomcha') != "khuvuc"){ ?>
            	<?php echo  $this->document->getNhom($this->document->getNhom($item['khuvuc'],'nhomcha'))?> - 
                <?php } ?>
                <?php echo  $this->document->getNhom($item['khuvuc'])?></div>
            <div class="dl-gia">Giá: <span><?php echo $this->string->doc_so1($item['gia'])?></span></div>
        </div>
    </div>
    <div id="detail<?php echo $item['bdsid']?>" style="display:none">
    	Loại BĐS: <?php echo $this->document->getNhom($item['loaibds'])?><br />
        Diện tích: <?php echo $this->string->numberFormate($item['dientich'])?> m&sup2;<br />
        Hướng: <?php echo $this->document->getNhom($item['huong'])?><br />
        Địa chỉ: <?php echo $item['diachi']?><br />
        Điện thoại: <?php echo $this->document->getUser($item['assignto'],'phone')?><br />
        Email: <?php echo $this->document->getUser($item['assignto'],'email')?><br />
    </div>
   
<script language="javascript">
$("#dl<?php echo $item['bdsid']?>").tooltip({ 
    track: true, 
    delay: 0, 
    showURL: false, 
    
    fade: 250 
});
$("#dl<?php echo $item['bdsid']?>").mousemove(function(){
	
	$("#tooltip").show();
})
$("#dl<?php echo $item['bdsid']?>").mouseout(function(){
	
	$("#tooltip").hide();
})
</script>
    <?php } ?>
    
    <div class="clearer">&nbsp;</div>
    <?php echo $pager?>
</div>

